package com.yuanfud.user.service;

import com.yuanfud.common.exception.RestException;
import com.yuanfud.entity.user.Token;
import com.yuanfud.entity.user.User;

public interface LoginService {
    User Login(User user) throws RestException;

    Token getJwtToken(User user,String ip) throws RestException;
}
